org.bootchart.renderer
Class Renderer
java.lang.Object
org.bootchart.renderer.Renderer
- Direct Known Subclasses:
- ImageRenderer, SVGRenderer
public abstract class Renderer
- extends Object
Renderable is a common interface for different boot chart renderers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Renderer
public Renderer()
render
public abstract void render(Properties headers,
BootStats bootStats,
OutputStream os)
throws IOException
- Render the chart and output to an output stream.
- Parameters:
headers - header properties to include in the title bannerbootStats - boot statisticsos - the output stream to write to
- Throws:
IOException - if an I/O error occurs
getFileSuffix
public abstract String getFileSuffix()
- Returns the file suffix to use for the rendered image.
- Returns:
- file suffix